Skip to content

session: encode shared key metadata - #6989

Merged
tonistiigi merged 1 commit into
moby:masterfrom
crazy-max:fix-session-sharedkey-header-encoding
Aug 26, 2026
Merged

tonistiigi merged 1 commit into
moby:masterfrom
crazy-max:fix-session-sharedkey-header-encoding

Conversation

@crazy-max

Copy link
Copy Markdown
Member

fixes docker/compose#13965
closes docker/buildx#3972

This fixes session setup when the shared key contains non-ASCII characters by encoding the value before it's sent through gRPC metadata and decoding it when the session manager receives it.

The session package now marks encoded shared-key metadata with a another header and preserves the original shared key after decoding.

Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
@crazy-max
crazy-max force-pushed the fix-session-sharedkey-header-encoding branch from bfdc3c2 to 729c6a3 Compare July 27, 2026 09:46
@crazy-max
crazy-max requested a review from tonistiigi July 27, 2026 21:28
@crazy-max crazy-max added this to the v0.33.0 milestone Jul 27, 2026
@crazy-max
crazy-max marked this pull request as ready for review July 27, 2026 21:28
@tonistiigi
tonistiigi merged commit bc4d7b5 into moby:master Aug 26, 2026
192 checks passed
@crazy-max
crazy-max deleted the fix-session-sharedkey-header-encoding branch August 26, 2026 07:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] Build fails when two services share a build context with a Chinese directory path

2 participants